package com.mgm.dto;

import java.math.BigDecimal;

public class AffsettingsDto {
	
	private String id;
	private Integer adffId; //渠道ID 
	private String adffCode; //渠道编码
	private String account; //广告主平台账号
	private Integer adId; //广告主id
	private String adv_id; //广告主编码
	private String adv_name; //广告主名称
	private String adv_type; //广告主类型
	private Integer admentId; //广告ID(主键)
	private Boolean enabled; //（下游）开关
	private String start_at; //广告上架时间
	private String end_at; //广告下架时间
	private String offerId; //offerId
	private String offerName; //offer名称
	private String os; //os(android/ios)
	private String pkgname; //包名
	private String appname; //app名称
	private boolean excitation; //是否需要激励
	private String pay_type; //结算方式(cpi/cpc/cpm)
	private BigDecimal pay_price; //单价
	private Integer premium; //(下游)溢价
	private BigDecimal premium_price; //(下游)溢价后价格
	private String icon; //icon链接
	private String trackingsolution; //检测类型(adjust/appsflyer/mat/reyun/talkingdata)
	private String click_url; //点击链接
	private String countries; //定向国家
	private String requires; //需要id(空/idfa/gaid/aid)
	private String preview_url; //app展示url
	private BigDecimal totalCap;
    private BigDecimal dailyCap;
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public Integer getAdmentId() {
		return admentId;
	}
	public void setAdmentId(Integer admentId) {
		this.admentId = admentId;
	}
	public Integer getAdffId() {
		return adffId;
	}
	public void setAdffId(Integer adffId) {
		this.adffId = adffId;
	}
	public String getAdffCode() {
		return adffCode;
	}
	public void setAdffCode(String adffCode) {
		this.adffCode = adffCode;
	}
	public Integer getAdId() {
		return adId;
	}
	public void setAdId(Integer adId) {
		this.adId = adId;
	}
	public String getAccount() {
		return account;
	}
	public void setAccount(String account) {
		this.account = account;
	}
	public String getAdv_id() {
		return adv_id;
	}
	public void setAdv_id(String adv_id) {
		this.adv_id = adv_id;
	}
	public String getAdv_name() {
		return adv_name;
	}
	public void setAdv_name(String adv_name) {
		this.adv_name = adv_name;
	}
	public String getAdv_type() {
		return adv_type;
	}
	public void setAdv_type(String adv_type) {
		this.adv_type = adv_type;
	}
	public Boolean getEnabled() {
		return enabled;
	}
	public void setEnabled(Boolean enabled) {
		this.enabled = enabled;
	}
	public String getStart_at() {
		return start_at;
	}
	public void setStart_at(String start_at) {
		this.start_at = start_at;
	}
	public String getEnd_at() {
		return end_at;
	}
	public void setEnd_at(String end_at) {
		this.end_at = end_at;
	}
	public String getOfferId() {
		return offerId;
	}
	public void setOfferId(String offerId) {
		this.offerId = offerId;
	}
	public String getOfferName() {
		return offerName;
	}
	public void setOfferName(String offerName) {
		this.offerName = offerName;
	}
	public String getOs() {
		return os;
	}
	public void setOs(String os) {
		this.os = os;
	}
	public String getPkgname() {
		return pkgname;
	}
	public void setPkgname(String pkgname) {
		this.pkgname = pkgname;
	}
	public String getAppname() {
		return appname;
	}
	public void setAppname(String appname) {
		this.appname = appname;
	}
	public boolean isExcitation() {
		return excitation;
	}
	public void setExcitation(boolean excitation) {
		this.excitation = excitation;
	}
	public String getPay_type() {
		return pay_type;
	}
	public void setPay_type(String pay_type) {
		this.pay_type = pay_type;
	}
	public BigDecimal getPay_price() {
		return pay_price;
	}
	public void setPay_price(BigDecimal pay_price) {
		this.pay_price = pay_price;
	}
	public Integer getPremium() {
		return premium;
	}
	public void setPremium(Integer premium) {
		this.premium = premium;
	}
	public BigDecimal getPremium_price() {
		return premium_price;
	}
	public void setPremium_price(BigDecimal premium_price) {
		this.premium_price = premium_price;
	}
	public String getIcon() {
		return icon;
	}
	public void setIcon(String icon) {
		this.icon = icon;
	}
	public String getTrackingsolution() {
		return trackingsolution;
	}
	public void setTrackingsolution(String trackingsolution) {
		this.trackingsolution = trackingsolution;
	}
	public String getClick_url() {
		return click_url;
	}
	public void setClick_url(String click_url) {
		this.click_url = click_url;
	}
	public String getCountries() {
		return countries;
	}
	public void setCountries(String countries) {
		this.countries = countries;
	}
	public String getRequires() {
		return requires;
	}
	public void setRequires(String requires) {
		this.requires = requires;
	}
	public String getPreview_url() {
		return preview_url;
	}
	public void setPreview_url(String preview_url) {
		this.preview_url = preview_url;
	}
	public BigDecimal getTotalCap() {
		return totalCap;
	}
	public void setTotalCap(BigDecimal totalCap) {
		this.totalCap = totalCap;
	}
	public BigDecimal getDailyCap() {
		return dailyCap;
	}
	public void setDailyCap(BigDecimal dailyCap) {
		this.dailyCap = dailyCap;
	}
	
	@Override
	public String toString() {
		return "AffsettingsDto [id=" + id + ", account=" + account + ", adv_id=" + adv_id + ", adv_name=" + adv_name
				+ ", adv_type=" + adv_type + ", enabled=" + enabled + ", start_at=" + start_at + ", end_at=" + end_at
				+ ", offerId=" + offerId + ", offerName=" + offerName + ", os=" + os + ", pkgname=" + pkgname
				+ ", appname=" + appname + ", excitation=" + excitation + ", pay_type=" + pay_type + ", pay_price="
				+ pay_price + ", premium=" + premium + ", premium_price=" + premium_price + ", icon=" + icon
				+ ", trackingsolution=" + trackingsolution + ", click_url=" + click_url + ", countries=" + countries
				+ ", requires=" + requires + ", preview_url=" + preview_url + ", totalCap=" + totalCap + ", dailyCap="
				+ dailyCap + "]";
	}
	
}
